package net.grandnature.android.morse.player;

public class MixRunner implements Runnable {

	MorseStringBuilder msp1;
	String encoded;
	MorsePlayer mp;
	
	public MixRunner(String encoded, MorsePlayer mp) {
		super();
		this.msp1 = new MorseStringBuilder();
		this.encoded = encoded;
		this.mp = mp;
	}

	@Override
	public void run() {
        MorseStringBuilder msp1 = new MorseStringBuilder();
        msp1.addPlayer(mp);
        msp1.morsePlay(encoded);
        msp1.close();

	}

}
